package com.envper.mysql.domain.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 设备阈值表 实体类。
 *
 * @author admin
 * @since 2025-05-07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("t_device_threshold")
public class TDeviceThreshold implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    private Long id;

    /**
     * 设备ID
     */
    private Long deviceId;

    /**
     * 温度上限
     */
    private Float temperatureUpper;

    /**
     * 温度下限
     */
    private Float temperatureLower;

    /**
     * 温度上限
     */
    private Float humidityUpper;

    /**
     * 温度下限
     */
    private Float humidityLower;

    /**
     * 硫化氢上限
     */
    private Float h2sUpper;

    /**
     * 硫化氢下限
     */
    private Float h2sLower;

    /**
     * 创建时间
     */
    private LocalDateTime created;

    /**
     * 更新时间
     */
    private LocalDateTime updated;

}
